package com.adee.nowcoder.huawei;

import java.util.*;

public class T026_HJ26 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // 注意 hasNext 和 hasNextLine 的区别
        while (in.hasNextLine()) { // 注意 while 处理多个 case
            String str = in.nextLine();
            List<Character> list = new ArrayList<>(str.length());
            for(char c : str.toCharArray()) {
                if(Character.isLetter(c)) list.add(c);
            }
            Collections.sort(list, new Comparator<Character>() {
                @Override
                public int compare(Character c1, Character c2) {
                    return Character.toLowerCase(c1) - Character.toLowerCase(c2);
                }
            });
            StringBuilder sb = new StringBuilder();
            for (int i = 0, j = 0; i < str.length(); i++) {
                if (Character.isLetter(str.charAt(i))) {
                    sb.append(list.get(j++));
                }else {
                    sb.append(str.charAt(i));
                }
            }
            System.out.println(sb.toString());
        }
    }
}
